import { $http } from "@/utils/Request/index.js";
import { onMounted, ref } from "vue";
export const useLeftBar = async () => {
  const API_getCategoryList = () => {
    return $http.request({
      url: "goods/getCategoryList",
    });
  };
  let leftBarList = ref([]);

  leftBarList.value = await API_getCategoryList();

  return {
    leftBarList,
  };
};
